package com.eati.cm.ctrler;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.eati.cm.model.StoryGenre;

@RestController
@RequestMapping("Test")
public class TestCtrler {
	@ResponseBody
	@GetMapping("excp")
    public StoryGenre exce() throws Exception {
        //return "asdf";
        throw new Exception("HAHAHAHA!");
        //return new StoryGenre();
    }
	
	@ResponseBody
	@GetMapping("auth")
	public void auth() {
		
	}
}
